package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 联系类型对象 contact_type
 * 
 * @author ruoyi
 * @date 2021-01-07
 */
public class ContactType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long contId;

    /** 名称 */
    @Excel(name = "名称")
    private String contName;

    /** 可用性01 */
    @Excel(name = "可用性01")
    private String contState;

    /** 最近修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date contUptime;

    public void setContId(Long contId) 
    {
        this.contId = contId;
    }

    public Long getContId() 
    {
        return contId;
    }
    public void setContName(String contName) 
    {
        this.contName = contName;
    }

    public String getContName() 
    {
        return contName;
    }
    public void setContState(String contState) 
    {
        this.contState = contState;
    }

    public String getContState() 
    {
        return contState;
    }
    public void setContUptime(Date contUptime) 
    {
        this.contUptime = contUptime;
    }

    public Date getContUptime() 
    {
        return contUptime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contId", getContId())
            .append("contName", getContName())
            .append("contState", getContState())
            .append("contUptime", getContUptime())
            .toString();
    }
}
